﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PTCEM.aspx.cs" Inherits="H2.NET.Web.Pages.PTCEM" %>
<%@ Register Assembly="H2.NET.Controls" Namespace="H2.NET.Controls" TagPrefix="H2" %>
<%@ Register Assembly="Anthem" Namespace="Anthem" TagPrefix="anthem" %>
<%@ Register Src="../../Controls/AssessmentList.ascx" TagName="AssessmentList" TagPrefix="uc1" %>
<%@ Register src="../../Controls/AssessmentExtend.ascx" tagname="Assessment" tagprefix="uc2" %>
<%@ Register src="../../Controls/Attachment.ascx" tagname="Attachment" tagprefix="uc3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link type="text/css" rel="stylesheet" href="../../Resource/Css/Style.css" />    
</head>
<body>
    <form id="form" runat="server">
    <div id="PRINT_A" style="width: 800px; border: solid 1px #D0D0BF">
    <!--标题-->
    <div style="border-bottom:solid 1px #D0D0BF"> 
        <table>
            <tr>
                <td style="width:140px;height:40px;"><img alt="" src="../../Resource/Images/Logo_AkzoNobel.gif" /></td>
                <td style="font-size:13px;"><b>TW Cost Element </b>&nbsp;&nbsp;&nbsp;&nbsp;<anthem:Label ID="INFO" runat="server" ForeColor="Red" AutoUpdateAfterCallBack="true"></anthem:Label></td>
                <td style="width:160px;" align="left">No: <anthem:Label ID="ApplicationNo" runat="server" AutoUpdateAfterCallBack="true"></anthem:Label></td>
            </tr>
        </table>
    </div>
    
    <div>
    <table>
        <tr>
            <td colspan="2" style="height:8px;"></td>
        </tr>
        <tr>
            <td style="width:1px;"></td>
            <td style="width:100px;">
                <anthem:DropDownList ID="Actions" runat="server" AutoCallBack="true" 
                    EnableCallBack="true" AutoUpdateAfterCallBack="true" Width="108" onselectedindexchanged="Actions_SelectedIndexChanged">
                    <asp:ListItem Text="1, Create" Value="1" Selected="True"></asp:ListItem>
                    <asp:ListItem Text="2, Revise" Value="2"></asp:ListItem>
                    <asp:ListItem Text="3, Lock" Value="3"></asp:ListItem>
                    <asp:ListItem Text="4, Unlock" Value="4"></asp:ListItem>
                </anthem:DropDownList>
            </td>
            <td>
                <anthem:CheckBox ID="VD" Text="A—Cost Element" runat="server" AutoUpdateAfterCallBack="true" OnCheckedChanged="VD_CheckedChanged" AutoCallBack="true" EnableCallBack="true"/>&nbsp;&nbsp;&nbsp;&nbsp;
                <anthem:CheckBox ID="SA" Text="B—Cost Element Group" runat="server" AutoUpdateAfterCallBack="true" OnCheckedChanged="VD_CheckedChanged" AutoCallBack="true" EnableCallBack="true" />&nbsp;&nbsp;&nbsp;&nbsp;
             </td>
            <td style="width:100px;"></td>
             <td style="width:100px;"></td>
             

            <td>           <anthem:Label ID="DrpPriority_L" Text="Priority" runat="server" 
                            AutoUpdateAfterCallBack="True" UpdateAfterCallBack="True" ></anthem:Label>
                    <anthem:DropDownList ID="DrpPriority" runat="server" AutoCallBack="true" 
                            EnableCallBack="true" AutoUpdateAfterCallBack="true" CssClass="text" 
                            Width="108" >
                        <asp:ListItem Text=""></asp:ListItem>
                        <asp:ListItem Text="Urgent" Value="1"></asp:ListItem>
                        <asp:ListItem Text="High" Value="2"></asp:ListItem>
                        <asp:ListItem Text="Routine" Value="3"></asp:ListItem>
                    </anthem:DropDownList>
                    </td>  
        </tr>
    </table>        
    </div>   
    
     <!--页签栏-->
    <div>
        <table style="border-bottom:solid 1px #D0D0BF">
            <tr>
                <td colspan="2" style="height:2px;"></td>
            </tr>
            <tr>
                <td style="width:1px;"></td>
                <td style="height:34px;" valign="baseline">
                    <anthem:LinkButton ID="VD_L" Text="A" runat="server" AutoUpdateAfterCallBack="true"  CssClass="tabs2" EnableCallBack="true" Width="90" onclick="Tabs_Click"></anthem:LinkButton>
                    <anthem:LinkButton ID="SA_L" Text="B" runat="server" AutoUpdateAfterCallBack="true" CssClass="tabs1" EnableCallBack="true" Width="90" Visible="false" onclick="Tabs_Click"></anthem:LinkButton>
              
                </td>

            </tr>
        </table>
    </div>         
    
   
    
  <anthem:Panel ID="P_VD" runat="server" AutoUpdateAfterCallBack="true"> 
     <div style="margin:2px;">
        <fieldset>
            <legend>
                Initial Screen
            </legend>
            <table>
                
                <tr><td colspan="4" style="height:6px;"></td></tr>         
                <tr>
                    <td style="width:110px;"><anthem:Label ID="IS_CO_Area_L" Text="CO Area:" runat="server"></anthem:Label></td>
                    <td style="width:360px;">
                       <anthem:TextBox ID="IS_CO_Area" runat="server" Text="4000" 
                            AutoUpdateAfterCallBack="true" Width="154" ></anthem:TextBox> 
                    </td>
                </tr>
                <tr>
                    <td><anthem:Label ID="IS_Cost_Element_L" Text="Cost Element:" runat="server"></anthem:Label></td>
                    <td>
                        <anthem:TextBox ID="IS_Cost_Element" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="154" AutoCallBack="true" EnableCallBack="true"></anthem:TextBox></td>
                </tr>   
                <tr>
                    <td><anthem:Label ID="Vaild_From_L" Text="Vaild From:" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true"  runat="server"></anthem:Label></td>
                    <td >
                        <anthem:TextBox ID="Vaild_From" runat="server"  
                            AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" Width="154"></anthem:TextBox></td>
                   <td style="width:110px;" align="right"><anthem:Label ID="Vaild_To_L" Text="Vaild To:" AutoUpdateAfterCallBack="true"  runat="server"></anthem:Label></td>         
                   <td><anthem:TextBox ID="Vaild_To" runat="server"  
                            AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" Width="154"></anthem:TextBox></td>
                </tr> 
            </table>
          </fieldset>
        </div>
     
     <div style="margin:2px;">
        <fieldset>
            <legend>
                Reference
            </legend>
            <table>
                
                <tr><td colspan="2" style="height:6px;"></td></tr>         
                <tr>
                    <td style="width:110px;"><anthem:Label ID="RE_Cost_Element_L" Text="Cost Element:" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true"  runat="server"></anthem:Label></td>
                    <td >
                        <anthem:TextBox ID="RE_Cost_Element" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="154" ></anthem:TextBox></td>
                </tr>
                <tr>
                    <td ><anthem:Label ID="RE_CO_Area_L" Text="CO Area:" runat="server"></anthem:Label></td>
                    <td>
                        <anthem:TextBox ID="RE_CO_Area" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="154" ></anthem:TextBox></td>
                </tr> 
            </table>
          </fieldset>
        </div>
      
     <div style="margin:2px;">
        <fieldset>
            <legend>
                Names
            </legend>
            <table>
                
                <tr><td colspan="2" style="height:6px;"></td></tr>         
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Name_L" Text="Name:" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true"  runat="server"></anthem:Label></td>
                    <td >
                        <anthem:TextBox ID="Name" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:TextBox></td>
                </tr>
                <tr>
                    <td ><anthem:Label ID="Description_L" Text="Description:" runat="server" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" ></anthem:Label></td>
                    <td>
                        <anthem:TextBox ID="Description" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:TextBox></td>
                </tr> 
            </table>
          </fieldset>
        </div>
      
     <div style="margin:2px;">
        <fieldset>
            <legend>
                Basic Data
            </legend>
            <table>
                
                <tr><td colspan="2" style="height:6px;"></td></tr>         
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Cost_Element_Category_L" Text="Cost Element Category:" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true"  runat="server"></anthem:Label></td>
                    <td >
                        <anthem:DropDownList ID="Cost_Element_Category" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:DropDownList></td>
                </tr>
            </table>
          </fieldset>
        </div>
      
      
    </anthem:Panel>
    
    
  
   <anthem:Panel ID="P_SA" runat="server" AutoUpdateAfterCallBack="true" Visible="false">     
      <div style="margin:2px;">
        <fieldset>
            <legend>
                Initial Screen
            </legend>
            <table>
                
                <tr><td colspan="2" style="height:6px;"></td></tr>         
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Element_Group_CO_Area_L" Text="CO Area:" runat="server"></anthem:Label></td>
                    <td>
                        <anthem:TextBox ID="Element_Group_CO_Area" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="154" AutoCallBack="true" EnableCallBack="true"></anthem:TextBox></td>
                </tr>
                <tr>
                    <td><anthem:Label ID="Cost_Element_Group_L" Text="Cost Element<br/> Group:" runat="server"></anthem:Label></td>
                    <td>
                        <anthem:TextBox ID="Cost_Element_Group" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="154" AutoCallBack="true" EnableCallBack="true"></anthem:TextBox></td>
                </tr>   
            </table>
          </fieldset>
        </div>
     
      
      
       <div style="margin:2px;">
        <fieldset>
            <legend>
                Basic Data/Description
            </legend>
            <table>
                
                <tr><td colspan="2" style="height:6px;"></td></tr>         
                <tr>
                    <td style="width:110px;"><anthem:Label ID="Element_Group_Name_L" Text="Name:" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true"  runat="server"></anthem:Label></td>
                    <td >
                        <anthem:TextBox ID="Element_Group_Name" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:TextBox></td>
                </tr>
                <tr>
                    <td ><anthem:Label ID="Cost_Element_1_L" Text="Cost Element1:" runat="server" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" ></anthem:Label></td>
                    <td>
                        <anthem:TextBox ID="Cost_Element_1" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:TextBox></td>
                </tr> 
                <tr>
                    <td ><anthem:Label ID="Cost_Element_2_L" Text="Cost Element2:" runat="server" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" ></anthem:Label></td>
                    <td>
                        <anthem:TextBox ID="Cost_Element_2" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:TextBox></td>
                </tr> 
                <tr>
                    <td ><anthem:Label ID="Cost_Element_3_L" Text="Cost Element3:" runat="server" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" ></anthem:Label></td>
                    <td>
                        <anthem:TextBox ID="Cost_Element_3" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:TextBox></td>
                </tr> 
                <tr>
                    <td ><anthem:Label ID="Cost_Element_4_L" Text="Cost Element4:" runat="server" AutoUpdateAfterCallBack="true" AutoCallBack="true" EnableCallBack="true" ></anthem:Label></td>
                    <td>
                        <anthem:TextBox ID="Cost_Element_4" runat="server" 
                            AutoUpdateAfterCallBack="true" Width="305" ></anthem:TextBox></td>
                </tr> 
            </table>
          </fieldset>
        </div>         
 
    
    </anthem:Panel>
 

            

    
    <div style="margin:2px;">
        <fieldset>
            <legend>
            Attachments
                        </legend>
            <table> 
              <tr><td colspan="2" style="height:6px;"></td></tr>  
              <tr>
                  <td style="width:110px;" valign="top">Attachments:</td> 
                  <td><div style="width:500px;"><uc3:Attachment ID="Attachment1" runat="server" /></div></td>
              </tr>
            </table>
        </fieldset>
    </div> 
             <anthem:Panel ID="P_DMO" runat="server" AutoUpdateAfterCallBack="true" Visible="false">  
       <div  style="margin:2px;">
            <fieldset>
                <legend>
                   DMO 
                </legend>
                   <table border="0px">
                     <tr>
            <td align="center" class="style3"><anthem:Label ID="DMO_DrpPriority_L" Text="Priority" runat="server" AutoUpdateAfterCallBack="true"></anthem:Label></td>
            <td class="style3"><anthem:DropDownList ID="DMO_DrpPriority" runat="server" AutoCallBack="true" EnableCallBack="true" AutoUpdateAfterCallBack="true"   CssClass="text" Width="100">
                        <asp:ListItem Text=""></asp:ListItem>
                        <asp:ListItem Text="Urgent" Value="1"></asp:ListItem>
                        <asp:ListItem Text="High" Value="2"></asp:ListItem>
                        <asp:ListItem Text="Routine" Value="3"></asp:ListItem>
                 </anthem:DropDownList>
            </td>
        </tr>

                    </table>

                    
            </fieldset>
        </div> 
      </anthem:Panel>
       <!-- <div style="margin:2px;">
            <fieldset>
                <legend>
                   DMO 
                </legend>
                <table> 
                    <tr><td style="width:111px;" valign="top">SAP Code:</td>
                        <td><anthem:TextBox ID="SAP_Code" runat="server" TextMode="MultiLine" Height="60" Width="624" AutoUpdateAfterCallBack="true"></anthem:TextBox></td>
                    </tr>
                </table>
            </fieldset>
        </div> -->
        
        <div style="margin:2px;">
            <table width="100%">
                <tr><td><uc1:AssessmentList ID="AssessmentList1" runat="server" /></td></tr>
            </table>
        </div>
        
        <div style="margin:2px;">
            <table width="100%">
		<tr><td style="height:10px;"></td></tr>
                <tr><td><uc2:Assessment ID="Assessment1" runat="server" /></td></tr>
            </table>
        </div>
        
        <div>
            <table width="100%">
                <tr><td style="height:6px;"></td></tr>
                <tr>
                    <td style="width:114px;"></td>
                    <td>
                        <anthem:Button ID="Send" runat="server" Text="<%$ Resources:Global,C_00_Submit %>" PreCallBackFunction="Submit_PreCallBack" AutoUpdateAfterCallBack="true" EnableCallBack="true" OnClick="Send_Click" />
                        <anthem:Label ID="Split" runat="server" Width="10" AutoUpdateAfterCallBack="true"></anthem:Label>
                        <anthem:Button ID="Close" runat="server" Text="<%$ Resources:Global,C_00_Close %>" OnClientClick="window.close();" />
                    </td>
                </tr>
                
            </table>
        </div>
        
        <div style="height:10px;">
        </div>
    </div>
    </form>
</body>
</html>
